package top.mataiji.manager.pojo;

import java.io.Serializable;

/**
 * @author zhoubin
 * @since 1.0.0
 */
public class Bookimg implements Serializable {
    /**
     * 书籍id
     */
    private Integer bookid;

    /**
     * 书籍图片地址
 书籍图片地址

     */
    private String bookimageaddress;

    /**
     *
     */
    private Integer id;

    /**
     * bookimg
     */
    private static final long serialVersionUID = 1L;

    public Integer getBookid() {
        return bookid;
    }

    public void setBookid(Integer bookid) {
        this.bookid = bookid;
    }

    public String getBookimageaddress() {
        return bookimageaddress;
    }

    public void setBookimageaddress(String bookimageaddress) {
        this.bookimageaddress = bookimageaddress == null ? null : bookimageaddress.trim();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", bookid=").append(bookid);
        sb.append(", bookimageaddress=").append(bookimageaddress);
        sb.append(", id=").append(id);
        sb.append("]");
        return sb.toString();
    }
}
